package com.ycp;

import com.ycp.poi.DocWriter;
import com.ycp.poi.TestData;
import com.ycp.poi.XlsReader;

import java.util.List;

/**
 * Hello world!
 *
 */
public class App 
{
    public static void main( String[] args )
    {
    
        String keyWords = "案例题";
        List<TestData> result = XlsReader.readFromXlsFile("/Users/ycp/gitproject/poi-demo/src/main/java/test.xls", keyWords);
        DocWriter.writeToDoc("/Users/ycp/gitproject/poi-demo/src/main/java/anli.docx", result, keyWords);
    }
}
